Ext.define('More.sun.latestactivity.controller.LatestActivity', {
			extend : 'Ext.app.Controller',
			config : {
				refs : {
					resersubmit : '#reservationSubmit'
				},
				control : {
					resersubmit : {
						tap : 'submitForm'
					}
				}
			},
			submitForm : function(btn, e, eOpts) {
				 Ext.data.JsonP.request({
					    url: 'http://'+Config.utils.SERVER_IP+':'+Config.utils.SERVER_PORT +'/hotel/activity/create',
					    callbackKey: 'callback',
					    params: {
					    	content:Ext.getCmp('actContent').get('value')
					    },
					    success: function(result,request){
					    	Ext.Msg.alert('系统提示', '谢谢你的评价！');
					    }
			});
			}
		});
